#include <stdio.h>
#include "ofc/DSocketAddress.h"

int main(int argc, char *argv[])
{
#ifdef DSA_AF_UNIX
  DUnixSocketAddress *addr2 = [DUnixSocketAddress alloc]; 

  [addr2 init :"udp1"];                // Init with a filename

  printf("Family of address2: %d\n", [addr2 family]); // Print the family of the unix address

  [addr2 free];
#else
  printf("UnixSocketAddress not present.\n");
#endif

  
  return 0;
}

